package com.insyte.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Ngo Khanh on 26/6/2015.
 */
public class CategoryOfInterest {
    private List<InteresetObject> childItemList;
    private String name;

    public CategoryOfInterest(String name) {
        this.name = name;
    }

    public CategoryOfInterest(String name, List<InteresetObject> childItemList) {
        this.name = name;
        this.childItemList = childItemList;
    }

    public void setChildItemList(List<InteresetObject> childItemList) {
        this.childItemList = childItemList;
    }

    public CategoryOfInterest() {
        childItemList = new ArrayList<InteresetObject>();
    }

    public List<InteresetObject> getChildItemList() {
        return childItemList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
